package com.show.business.device.bean.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * <p>
 * 设备线路
 * </p>
 *
 * @author dvlp
 * @since 2023-10-14
 */
public class DeviceLineVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("线路名称(主线、1号线、2号线、3号线、4号线、)")
    private String lineName;

    @ApiModelProperty("状态:")
    private String status;

    @ApiModelProperty("电压（0-220V;1-380V）")
    private String voltage;

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getVoltage() {
        return voltage;
    }

    public void setVoltage(String voltage) {
        this.voltage = voltage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("lineName", getLineName())
                .append("status", getStatus())
                .append("voltage", getVoltage())
                .toString();
    }
}
